Await doesn't await with firebase batches functions